package cn.getech.data.development.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "实时任务")
public class RealTimeTaskLogVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("记录id")
    private Integer id;

    @ApiModelProperty("任务id")
    private Integer taskId;

    @ApiModelProperty("操作类型，1：创建，2：修改，3：删除，4：运行，5：停止")
    private Integer type;

    @ApiModelProperty("操作人id")
    private Integer operationPer;
    
    @ApiModelProperty("操作人姓名")
    private String operationPerName;

    @ApiModelProperty("操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("操作描述")
    private String description;
}
